package com.jeesite.modules.wzt.entity;

import javax.validation.constraints.Size;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * wzt_userEntity
 * @author xhc
 * @version 2023-03-15
 */
@Table(name="wzt_user", alias="a", label="wzt_user信息", columns={
		@Column(name="userid", attrName="userid", label="人员的 id", isPK=true),
		@Column(name="sys_uid", attrName="sysUid", label="我们系统用户id"),
		@Column(name="fullname", attrName="fullname", label="姓名"),
		@Column(name="gender", attrName="gender", label="性别"),
		@Column(name="birthDate", attrName="birthDate", label="出生日期"),
		@Column(name="politicalStatusCode", attrName="politicalStatusCode", label="政治面貌"),
		@Column(name="eduLevel", attrName="eduLevel", label="学历"),
		@Column(name="identityCard", attrName="identityCard", label="身份证号"),
		@Column(name="username", attrName="username", label="用户名"),
		@Column(name="password", attrName="password", label="密码"),
		@Column(name="mobile", attrName="mobile", label="手机号"),
		@Column(name="organizitionId", attrName="organizitionId", label="所在机构"),
		@Column(name="budgetedPostCode", attrName="budgetedPostCode", label="编制类型"),
		@Column(name="jobLevelCode", attrName="jobLevelCode", label="职级"),
		@Column(name="sequence", attrName="sequence", label="人员在该任职机构中的排序序号，"),
		@Column(name="isIDChecked", attrName="isIDChecked", label="已实名校验"),
		@Column(name="dingaccountid", attrName="dingaccountid", label="钉账号 ID"),
		@Column(name="dingaccountcode", attrName="dingaccountcode", label="钉账号 Code"),
		@Column(name="dingemployeecode", attrName="dingemployeecode", label="钉人员 Code"),
		@Column(name="createtime", attrName="createtime", label="创建时间"),
		@Column(name="updatetime", attrName="updatetime", label="更新时间"),
		@Column(name="user_status", attrName="userStatus", label="0 正常2停用"),
		@Column(name="relation", attrName="relation", label="任职属性相关"),
	}, orderBy="a.userid DESC"
)
public class WztUser extends DataEntity<WztUser> {
	
	private static final long serialVersionUID = 1L;
	 /**
	 * 人员的 id
	 */
	private String userid;
	 /**
	 * 我们系统用户id
	 */
	private String sysUid;
	 /**
	 * 姓名
	 */
	private String fullname;
	 /**
	 * 性别
	 */
	private String gender;
	 /**
	 * 出生日期
	 */
	private String birthDate;
	 /**
	 * 政治面貌
	 */
	private String politicalStatusCode;
	 /**
	 * 学历
	 */
	private String eduLevel;
	 /**
	 * 身份证号
	 */
	private String identityCard;
	 /**
	 * 用户名
	 */
	private String username;
	 /**
	 * 密码
	 */
	private String password;
	 /**
	 * 手机号
	 */
	private String mobile;
	 /**
	 * 所在机构
	 */
	private String organizitionId;
	 /**
	 * 编制类型
	 */
	private String budgetedPostCode;
	 /**
	 * 职级
	 */
	private String jobLevelCode;
	 /**
	 * 人员在该任职机构中的排序序号，
	 */
	private String sequence;
	 /**
	 * 已实名校验
	 */
	private String isIDChecked;
	 /**
	 * 钉账号 ID
	 */
	private String dingaccountId;
	 /**
	 * 钉账号 Code
	 */
	private String dingaccountcode;
	 /**
	 * 钉人员 Code
	 */
	private String dingemployeecode;
	 /**
	 * 创建时间
	 */
	private String createtime;
	 /**
	 * 更新时间
	 */
	private String updatetime;
	 /**
	 * 0 删除1 新增
	 */
	private String userStatus;
	private String relation;

	public String getRelation() {
		return relation;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

	public WztUser() {
		this(null);
	}

	public WztUser(String id){
		super(id);
	}
	
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	@Size(min=0, max=100, message="我们系统用户id长度不能超过 100 个字符")
	public String getSysUid() {
		return sysUid;
	}

	public void setSysUid(String sysUid) {
		this.sysUid = sysUid;
	}
	
	@Size(min=0, max=100, message="姓名长度不能超过 100 个字符")
	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}
	
	@Size(min=0, max=4, message="性别长度不能超过 4 个字符")
	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(String birthDate) {
		this.birthDate = birthDate;
	}

	public String getPoliticalStatusCode() {
		return politicalStatusCode;
	}

	public void setPoliticalStatusCode(String politicalStatusCode) {
		this.politicalStatusCode = politicalStatusCode;
	}

	public String getEduLevel() {
		return eduLevel;
	}

	public void setEduLevel(String eduLevel) {
		this.eduLevel = eduLevel;
	}

	public String getIdentityCard() {
		return identityCard;
	}

	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}

	public String getBudgetedPostCode() {
		return budgetedPostCode;
	}

	public void setBudgetedPostCode(String budgetedPostCode) {
		this.budgetedPostCode = budgetedPostCode;
	}

	public String getJobLevelCode() {
		return jobLevelCode;
	}

	public void setJobLevelCode(String jobLevelCode) {
		this.jobLevelCode = jobLevelCode;
	}

	@Size(min=0, max=100, message="用户名长度不能超过 100 个字符")
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	
	@Size(min=0, max=100, message="密码长度不能超过 100 个字符")
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	@Size(min=0, max=30, message="手机号长度不能超过 30 个字符")
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	@Size(min=0, max=10, message="所在机构长度不能超过 10 个字符")
	public String getOrganizitionId() {
		return organizitionId;
	}

	public void setOrganizitionId(String organizitionId) {
		this.organizitionId = organizitionId;
	}

	
	@Size(min=0, max=30, message="人员在该任职机构中的排序序号，长度不能超过 30 个字符")
	public String getSequence() {
		return sequence;
	}

	public void setSequence(String sequence) {
		this.sequence = sequence;
	}

	public String getIsIDChecked() {
		return isIDChecked;
	}

	public void setIsIDChecked(String isIDChecked) {
		this.isIDChecked = isIDChecked;
	}

	@Size(min=0, max=50, message="钉账号 ID长度不能超过 50 个字符")
	public String getDingaccountId() {
		return dingaccountId;
	}

	public void setDingaccountId(String dingaccountId) {
		this.dingaccountId = dingaccountId;
	}
	
	@Size(min=0, max=50, message="钉账号 Code长度不能超过 50 个字符")
	public String getDingaccountcode() {
		return dingaccountcode;
	}

	public void setDingaccountcode(String dingaccountcode) {
		this.dingaccountcode = dingaccountcode;
	}
	
	@Size(min=0, max=50, message="钉人员 Code长度不能超过 50 个字符")
	public String getDingemployeecode() {
		return dingemployeecode;
	}

	public void setDingemployeecode(String dingemployeecode) {
		this.dingemployeecode = dingemployeecode;
	}
	
	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	
	public String getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}
	
	@Size(min=0, max=2, message="0 删除1 新增长度不能超过 2 个字符")
	public String getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(String userStatus) {
		this.userStatus = userStatus;
	}
	
}